package com.yf.entity.course;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;

import java.math.BigDecimal;

/**
 * 章节实体
 * 表名 lesson
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Oct 31 14:20:19 CST 2018
 */
@Setter
@Getter
public class LessonEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //ID
    private Long id;
    //所属课程
    private Long courseId;
    //章节名称
    private String name;
    //章节简介
    private String info;
    //章节价格
    private BigDecimal retailPrice;
    //促销价格
    private BigDecimal price;
    //章节时长
    private Integer totalTime;
    //IMG-章节图片
    private String img;
    //视频地址
    private String videoUrl;
    //ENUM-类型:'收费','免费'
    private Integer free;
    //播放次数
    private Integer playCount;
    //购买人数(学习人数)
    private Integer learningNumber;
    //讲师
    private String teacher;

    //购买状态
    private boolean payStatus;

    public LessonEntity(){

    }

}
